<template>
  <div class="grid-content">
    <grid-item-one title="能源消费情况分析"></grid-item-one>
    <grid-item-two title="能源消费总量趋势"></grid-item-two>
    <grid-item-three title="能源消费结构及占比"></grid-item-three>
  </div>
</template>

<script>
import GridItemOne from './grid-item-one'
import GridItemTwo from './grid-item-two'
import GridItemThree from './grid-item-three'

export default {
  name: 'industry-analysis',
  components: {
    GridItemOne,
    GridItemTwo,
    GridItemThree,
  },
}
</script>

<style lang="scss" scoped>
@import "@/assets/style/variable.scss";

.grid-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: $gutter;
}

::v-deep .content-block {
  grid-column-start: 1;
  grid-column-end: 3;
  background: white;
  border-radius: 4px;

  .info-head {
    padding: 20px $gutter 0 $gutter;
    font-size: 16px;
  }

  .info-content {
    padding-top: 40px;
  }

  &.block-half-1 {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  &.block-half-2 {
    grid-column-start: 2;
    grid-column-end: 3;
  }
}
</style>
